package cn.gy.gift.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_employee")
public class Employee {
    private Long id;
    private String username;
    private String password;
    private String realName;
    private String tel;
    private String email;
    private Date inputTime;
    private Integer state;
    private Long deptId;
    private Long tenantId;
    private Integer type;
    private String salt;
    private Long loginId;

    @TableField(exist = false)
    private Department department;
}
